package com.hillky.emos.wx.service;

import com.hillky.emos.wx.domain.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;

/**
* @author Hillky
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2023-01-29 10:56:24
*/
public interface TbUserService extends IService<TbUser> {

    public TbUser getByOpenId(String openId);

    public Integer insert(HashMap param);

    public Integer registerUser(String registerCode,String code,String nickName,String photo);

    public Set<String> searchUserPermissions(Integer userId);

    public Integer login(String code);

    public TbUser searchById(Integer userId);

    public String searchHiredate(Integer userId);

    HashMap searchUserSummary(int userId);

    ArrayList<HashMap> searchUserGroupByDept(String keyword);

    ArrayList searchMembers(List param);
}
